package cn.com.thinvent.dispatch.dao;

import cn.com.thinvent.dispatch.dao.base.BaseMapper;
import cn.com.thinvent.dispatch.entity.DataCleanResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DataCleanResultMapper extends BaseMapper<DataCleanResult> {
    List<DataCleanResult> queryAllByLimit(@Param("cleanTaskId")Integer cleanTaskId,
                                          @Param("pageBegin")Integer pageBegin,
                                          @Param("pageSize")Integer pageSize);

    Long count(@Param("cleanTaskId") Integer cleanTaskId);

    List<DataCleanResult> queryByTaskId(@Param("cleanTaskId") Integer cleanTaskId);
}
